﻿using System;
using System.ServiceModel.Channels;

namespace SimpleServiceBus.Endpoints.DotNetServiceBus.Transport
{
    public class WcfMessageEventArgs : EventArgs
    {
        public WcfMessageEventArgs(Message message)
        {
            if (message == null)
                throw new ArgumentNullException("message");

            Message = message;
        }
        public Message Message { get; private set; }
    }
}
